/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package it.polimi.registration.business.security.entity;

import java.io.Serializable;		 
import javax.persistence.Basic;		 
import javax.persistence.Embeddable;		 
		 
/**		 
*		 
* @author Stefano		 
*/		 
@Embeddable		 
public class InvitePK implements Serializable {		 
@Basic(optional = false)		 
private String user;		 
@Basic(optional = false)		 
private String event;		 
			 
public InvitePK() {		 
}		 

public InvitePK(String user, String event) {		 
this.user = user;		 
this.event = event;		 
}		 
			 
public String getUser() {		 
return user;		 
}		 
			 
public void setUser(String user) {		 
this.user = user;		 
}		 
			 
public String getEvent() {		 
return event;		 
}		 
			 
public void setEvent(String event) {		 
this.event = event;		 
}

}
